<?php
return [
    // +----------------------------------------------------------------------
    // |  应用配置
    // +----------------------------------------------------------------------
    // 文件上传驱动（本地）
    'app.upload.provider' => [
        'class' => 'builder\\uploads\\LocalProvider',
        'webroot' => '@webroot/uploads',
        'web' => '@web/uploads',
    ],

    // +----------------------------------------------------------------------
    // |  后台配置
    // +----------------------------------------------------------------------
    // 品牌名
    'admin.brandName' => 'yii manager 2.0',
    // 英文品牌名
    'admin.enBrandName' => 'yii manager 2.0',
    // 品牌LOGO（src地址）
    'admin.brandLogoLight' => '',
    'admin.brandLogoDark' => '',
    // 品牌标语
    'admin.slogan' => '登录到您的账户，开始管理客户和应用数据。Yii Manager 2.0提供安全、高效、快捷的后台管理系统。',
    // 版权信息
    'admin.copyright' => 'Copyright © 2023 Yii Manager MIT Licensed',
    // 备案号
    'admin.icp' => '豫ICP备88888888号（示例）',
    // 登录路由
    'admin.route.login' => 'site/login',
    // 菜单小部件
    'admin.navMenu' => 'backend\widgets\Menu',
    // 顶部导航小部件
    'admin.topNav' => 'backend\widgets\Nav',
    // RBAC管理器组件
    'admin.rbacManager' => 'rbacManager',
    // 后台会话错误闪存标识符
    'admin.session.flash.error' => 'admin-flash-error',
    // SSO KEY session存储标识符
    'admin.SSO.key' => 'admin-sso-key',
    // 后台主题枚举
    'admin.viewTheme' => [
        ['key' => 'ym2-theme-black', 'name' => '幽灵黑', 'primaryColor' => '#00b6bf', 'css' => 'ym2/ym2.theme.black.css'],
        ['key' => 'ym2-theme-pink', 'name' => '梦幻粉', 'primaryColor' => '#F56692', 'css' => 'ym2/ym2.theme.pink.css'],
        ['key' => 'ym2-theme-purple', 'name' => '高贵紫', 'primaryColor' => '#7066e0', 'css' => 'ym2/ym2.theme.purple.css'],
        ['key' => 'ym2-theme-white', 'name' => '经典蓝', 'primaryColor' => '#2d8cf0', 'css' => 'ym2/ym2.theme.white.css'],
        ['key' => 'ym2-theme-cyan', 'name' => '蔚蓝绿', 'primaryColor' => '#00b6bf', 'css' => 'ym2/ym2.theme.cyan.css'],
        ['key' => 'ym2-theme-green', 'name' => '清新绿', 'primaryColor' => '#01bb54', 'css' => 'ym2/ym2.theme.green.css'],
        ['key' => 'ym2-theme-red', 'name' => '中国红', 'primaryColor' => '#df1840', 'css' => 'ym2/ym2.theme.red.css'],
        ['key' => 'ym2-theme-orange', 'name' => '明亮橙', 'primaryColor' => '#ef6940', 'css' => 'ym2/ym2.theme.orange.css'],
        ['key' => 'ym2-theme-yellow', 'name' => '温暖黄', 'primaryColor' => '#f59f00', 'css' => 'ym2/ym2.theme.yellow.css'],
    ],

    // +----------------------------------------------------------------------
    // |  HTTP配置
    // +----------------------------------------------------------------------
    // ajax响应码
    'http.res.success' => 200,
    'http.res.failure' => 500,
    'http.res.unauthorized' => 401,
    // ajax标识
    'http.ajax.identity' => '_ajax',

    // +----------------------------------------------------------------------
    // |  其他配置
    // +----------------------------------------------------------------------
    // 框架名称
    'other.app.name' => 'Yii Manager 2.0',
    // 技术支持
    'other.technicalSupport' => 'https://www.kancloud.cn/cleverstone/ymb2',
];
